<template>
	<view class="about">
		<u-parse :html="content"></u-parse>
	</view>
</template>

<script>
	var util = require('../../common/util.js');
	export default {
		data() {
			return {
				content: ""
			}
		},
		onLoad() {
			this.loadData();
		},
		methods: {
			loadData: function(){
				// 加载数据
				var that = this;
				util.requestPost("api.php/home/shopRule", {}, function(res) {
					that.content = res.data.active_info;
				});
			},
		}
	}
</script>

<style scoped>
.about {
	padding: 32rpx;
}
</style>
